<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<%
	request.setAttribute("modelConfigPath", "cust");
%>
<style type="text/css">
.seniorSearch .form-group{
	margin-bottom: 3px !important;
	padding-bottom: 3px !important;
}
.customerInfo{
	margin-top: -20px;
}
</style>

<t:form commandName="customerSearch" id="customerSearch" action="/admin/cust/personRelation/index" ajaxPost="true"  cssClass="form-horizontal seniorSearch autoCallback" onSuccess="onSuccess">
	<t:panel cssClass="panel-flat border-xs border-primary border-top-xlg custom-panel searchPanel" customBody="true" customHead="true">
		<div class="panel-body">
			<t:formgroup>
				<t:label path="startDate" cssClass="col-sm-1" />
				<t:date path="startDate" rightInputGroupIcon="icon-calendar52 text-primary" colClass="col-sm-3" />
				<t:label path="endDate" cssClass="col-sm-1" />
				<t:date path="endDate" rightInputGroupIcon="icon-calendar52 text-primary" colClass="col-sm-3" />
				<t:label path="username" cssClass="col-sm-1" />
				<t:input path="username"  colClass="col-sm-3" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="nickname" cssClass="col-sm-1" />
				<t:input path="nickname" colClass="col-sm-3" />
				<t:label path="level" cssClass="col-sm-1" />
				<t:selectButton path="level" colClass="col-sm-3" />
			</t:formgroup>
		</div>
	</t:panel>
	
	<t:panel cssClass="panel-flat border-top-xlg border-top-primary customerInfo" customBody="true" customHead="true">
		<t:panelHead title="个人信息"></t:panelHead>
		<div class="panel-body">
			<div class="row">
				<c:import url="input.jsp" />
			</div>
			<div id="tableContent" class="row">
				<c:import url="output.jsp" />
			</div>
		</div>
	</t:panel>
</t:form>

<script type="text/javascript">
	function seniorSearchCallback(){
		formSubmit();
	} 
</script>
